package org.monster.uiboot;

import org.monster.app.AppContext;
import org.monster.boot.DosContainerProxy;
import org.monster.boot.DosValidate;
import org.monster.boot.Receiver;

/**
 * 界面接收器
 */
public class UIReceiver implements Receiver {

    /**
     * dos容器代理
     */
    private DosContainerProxy proxy;

    /**
     * 构造方法
     */
    public UIReceiver() {
        this.proxy = new DosContainerProxy(new AppContext(), new DosValidate());
    }

    /**
     * 接收
     *
     * @param dosCommand {@link String} dos命令
     */
    public void receive(String dosCommand) {
        proxy.put(dosCommand);
    }

}
